|
|
|
|
Image Property, ScrollingClass Class |
Defines the scroll button image.
Syntax ScrollingClass Class (Softelvdm.SftTabsNET)
VB |
Public Property Image As Image |
C# |
public Image Image { get; set; } |
C++ |
public: property Image^ Image { |
Property Value
An image containing representations of the left/up and right/down scroll button or null/Nothing to restore the default image.
The default value is null/Nothing.
Comments
The Image property defines the scroll button image.
The Image property can be used to override the default scroll button graphics provided by the tab control.
The image must contain two equal-sized images of the scroll buttons. The first half of the image is used for the left/up button, the second half for the right/down button.
The button graphics are arranged horizontally in the image, so the height of the image is the height of one button graphic and the width of the image is two times the width of one button graphic. The above sample contains 2 images (6 x 9 pixels).
If the scroll button is disabled, the image defined using the ImageDisabled property is used instead of this property. If ImageDisabled does not define an image, the image defined using this property is painted in a "grayed" fashion".
The Image property can be set to the value null/Nothing, which restores the tab control's default, built-in scroll button graphics.
The height of the scroll buttons and tabs is adjusted if necessary so the complete button graphic can be displayed vertically and horizontally. If the FullSize property is set to True, the scroll buttons are made as square as possible.
Sample button images can be found in the product directory \Program Files\Softelvdm\SftTabs NET 6.0\Images.
The Buttons.Image property can be used to define the Close, Minimize and Restore button graphics.